
logger_path="detail.log"

def log(msg):
        with open(logger_path, 'a') as log_fh:
            log_fh.write(msg + '\n')
        print(msg)